package com.b2c.pojo.vo;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Pattern;

import static content.common.Regexp.*;
import static content.common.ValidMessage.*;


@EqualsAndHashCode(callSuper = true)
@Data
public class CodePhoneVO extends PhoneVo{
    @Pattern(regexp = CODE_REGEXP,message = CODE_FORMAT_ERROR)
    private String code;
}
